package Entities;
import javax.persistence.Id;


public class RTentry {

	@Id 
    private Long id;
	String name;
	int score;
	String fbID;
	
	public String getFbID() {
		return fbID;
	}

	public RTentry(){
		super();
		
	}
	
	public RTentry(String name, String facebookID, int score) {
		super();
		this.name = name;
		this.score = score;
		this.fbID = facebookID;
	}
	
	public RTentry(String name, int score) {
		super();
		this.name = name;
		this.score = score;
		this.fbID = "invalid";

	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public boolean isOfFacebook(){
		
		return (fbID != null);
	}
	
	
}
